package com.xuchang.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xuchang.domain.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuchang.model.R;

/**
* @author xuchang
* @description 针对表【sys_role(角色)】的数据库操作Service
* @createDate 2025-06-29 22:19:06
*/
public interface SysRoleService extends IService<SysRole> {

    boolean isSuperAdmin(Long userId);

    Page<SysRole> getRolesList(Page<SysRole> page, String name);

}
